<template>
  <div class="box">
    <header>
      <span class='iconfont ico' @click="() => { this.$router.go(-1) }">&#xe65a;</span>
      <ul>
        <li><span class='iconfont'>&#xe639;</span></li>
      </ul>
    </header>
    <div class="conent">
      <div class="tab">
        <p>请扫一扫添加相应设备</p>
        <p>或者输入设置PIN码</p>
      </div>
      <div class="tab_conent">
        <div class="search">
          <input type="text" placeholder="输入设备后的PIN码">
          <span class='iconfont'>&#xe69b;</span>
        </div>
        <div class="edit">
          操作指引
        </div>
        <div class="shutDown">
          <img src="./img/u382.svg" alt="">
        </div>
      </div>
      <div class="tab_footer">
        <span></span>
        <span></span>
        <span></span>
        <span></span>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
  .box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    header {
      display: flex;
      justify-content: space-between;
      padding: 30px 20px;
      .ico {
        padding: 0 0 0 20px;
        font-size: 40px;
        line-height: 60px;
      }
      ul {
        list-style: none;
        font-size: 34px;
        span {
          font-weight: bolder;
          padding: 0 20px 0 0;
          font-size: 50px;
          line-height: 60px;
        }
      }
    }
    .conent {
      background-color: rgba(229, 229, 229, 1);
      height: 100%;
      border-radius: 15% 15% 0 0;
      padding: 80px 50px 0 50px;
      .tab {
        text-align: center;
        font-size: 36px;
        color: #757474;
      }
      .tab_conent {
        width: 100%;
        background: #fff;
        height: 700px;
        margin: 80px 0 50px 0;
        border-radius: 50px;
        position: relative;
        .shutDown {
          width: 200px;
          height: 200px;
          border-radius: 50%;
          background: #fff;
          box-shadow: 0px 0px 30px #888888;;
          position: absolute;
          bottom: 0;
          left: 50%;
          transform: translate(-50%, 50%);
          img {
            position: relative;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -40%);
          }
        }
        .search {
          padding: 130px 50px 50px 50px;
          display: flex;
          justify-content: space-between;
          input {
            padding: 20px;
            width: 65%;
            height: 70px;
            border: none;
            background: rgb(226, 225, 225);
            border-radius: 20px;
            font-size: 30px;
            margin-top: 5px;
          }
          span {
            font-size: 100px;
            color: rgb(136, 134, 134);
          }
        }
      }
      .edit {
        text-align: center;
        font-size: 40px;
        padding: 80px 0 0 0;
      }
      .tab_footer {
          padding: 100px 50px 0 50px;
          span {
            display: inline-block;
            width: 20%;
            height: 15px;
            background: rgba(200, 200, 200, 1);
            margin-right: 6.66%;
            border-radius: 10px;
            &:nth-of-type(4) {
              margin: 0;
            }
          }
        }
    }
  }
</style>
